<?php

namespace eu\freeplace\core;

/**
 * Default Modul Constants.
 *
 * @author Elmar Dott
 * @version 1.0
 */
class Constants {
    
    //LOGGER
    const DEFAULT_MAX_FILE_SIZE = "10";
    const DEFAULT_LOGLEVEL      = "ERROR";
    const DEFAULT_LOGFILE       = "PHP-INF/logs/application.log";
    const DEFAULT_PHP_LOGFILE   = "PHP-INF/logs/php.log";
    const DEFAULT_PHP_LOGLEVEL  = "E_STRICT";
 
    //CONFIGRATION
    const CONFIGURATION_DEFAULT_FILE = "PHP-INF\configuration.xml";
    
    //[ERROR MESSAGES]##########################################################
    
    const LOGGER_ERR_LOGLEVEL = "Mismatch Config for LOGGING. Allowed parameters 
          are: DEBUG INFO NOTICE WARN ERROR CRIT ALERT EMERG. The Program run 
          now in the default value ERROR.<br />";
    
    const LOGGER_ERR_FILESIZE = "The Size of the Logfile should be less than 10 
          MB. For a good Performance choose a value between 1 and 10 MB.<br />";
    
    const LOGGER_ERR_PHP_LOGLEVEL = "Mismatch Config for PHP ERROR LOGGING. The 
          Program run now in the default value E_STRICT.<br />";
    
    const LOGGER_ERR_PHP_PIPING = "Please check the Configuration for the 
          pipeing of PHP errors to a logfile. Only true or false is allowed.";
    
    const UTILS_EXCEPTION_DATABASE_TYPE = "False Database Type Configured. Only DBMS
          MySQL & postgreSQL allowed. Now run in the default mysql Mode.";
    
    const UTILS_EXCEPTION_PDO = "No instance of a PDO Object.";
}//CLASS

?>
